package com.example.springboot01.entity;

public class UserInfo {
    private String user_code;
    private String user_name;
    private String user_pwd;
    private String telephone;
    private int user_pro_id;
    private String pro_name;

    public UserInfo() {
    }

    public UserInfo(String user_code, String user_name, String user_pwd, String telephone, int user_pro_id, String pro_name) {
        this.user_code = user_code;
        this.user_name = user_name;
        this.user_pwd = user_pwd;
        this.telephone = telephone;
        this.user_pro_id = user_pro_id;
        this.pro_name = pro_name;
    }
    @Override
    public String toString() {
        return "UserInfo{" +
                "user_code='" + user_code + '\'' +
                ", user_name='" + user_name + '\'' +
                ", user_pwd='" + user_pwd + '\'' +
                ", telephone='" + telephone + '\'' +
                ", user_pro_id='" + user_pro_id + '\'' +
                ", pro_name='" + pro_name + '\'' +
                '}';
    }

    public int getUser_pro_id() {
        return user_pro_id;
    }

    public void setUser_pro_id(int user_pro_id) {
        this.user_pro_id = user_pro_id;
    }

    public String getPro_name() {
        return pro_name;
    }

    public void setPro_name(String pro_name) {
        this.pro_name = pro_name;
    }

    public String getUser_code() {
        return user_code;
    }

    public void setUser_code(String user_code) {
        this.user_code = user_code;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getUser_pwd() {
        return user_pwd;
    }

    public void setUser_pwd(String user_pwd) {
        this.user_pwd = user_pwd;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }
}
